<template>
  <div id="app"  class="bodyStyle">
    <Menu></Menu>
    <router-view style="margin-left:calc(12% + 10px);width: calc(88% - 20px);"></router-view>
  </div>
</template>

<script>
import Menu from './components/Menu'

export default {
  name: 'App',
  components: {
    Menu
  },
  mounted() {
    // console.log(this.$route.path,11111)
    if(this.$route.path==='/')
      this.$router.push({path:'/StatusMonitor/NationWideStatus'})
  }
}
</script>

<style>
  body{
    margin: 0px;
    background-image: linear-gradient(to right, #fff1eb 0%, #ace0f9 100%);
  }
  h1{
    margin: 0px;
  }
  h3{
    margin: 0px;
  }
#app {
  margin-top: 90px;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  color: #2c3e50;
}

</style>
